package com.feng.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feng.domain.ResponseResult;
import com.feng.domain.dto.GetUserListDto;
import com.feng.domain.dto.SystemUpdateUserDto;
import com.feng.domain.dto.SystemUserAddDto;
import com.feng.domain.entity.User;

import java.util.List;

/**
 * 用户表(User)表服务接口
 *
 * @author makejava
 * @since 2023-04-15 16:29:46
 */
public interface UserService extends IService<User> {

    ResponseResult userInfo();

    ResponseResult updateUserInfo(User user);

    ResponseResult register(User user);

    ResponseResult getUserList(Integer pageNum, Integer pageSize, GetUserListDto listDto);

    ResponseResult addUser(SystemUserAddDto addDto);

    ResponseResult delUser(List<Long> ids);

    ResponseResult getUser(Long id);

    ResponseResult updateUser(SystemUpdateUserDto userDto);
}

